<!DOCTYPE html>
<html lang="en">

<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <link rel="apple-touch-icon" href="%WEB_CONTEXT%/apple-touch-icon.png">
  <link rel="apple-touch-icon" sizes="57x57" href="%WEB_CONTEXT%/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="60x60" href="%WEB_CONTEXT%/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="72x72" href="%WEB_CONTEXT%/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="76x76" href="%WEB_CONTEXT%/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="114x114" href="%WEB_CONTEXT%/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="120x120" href="%WEB_CONTEXT%/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="144x144" href="%WEB_CONTEXT%/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="152x152" href="%WEB_CONTEXT%/apple-touch-icon-152x152.png">
  <link rel="apple-touch-icon" sizes="180x180" href="%WEB_CONTEXT%/apple-touch-icon-180x180.png">

  <link rel="icon" type="image/x-icon" href="%WEB_CONTEXT%/favicon.ico">

  <meta name="application-name" content="SonarQube" />

  <meta name="msapplication-TileColor" content="#FFFFFF" />
  <meta name="msapplication-TileImage" content="%WEB_CONTEXT%/mstile-512x512.png" />

  <title>%INSTANCE%</title>
  
  <% for (let css of htmlWebpackPlugin.files.css) { %>
    <style><%= compilation.assets[css].source() %></style>
  <% } %>
</head>

<body>
  <div id="content">
    <div class="global-loading">
      <i class="spinner global-loading-spinner"></i>
      <span class="global-loading-text">Loading...</span>
    </div>
  </div>
  <script>
    window.baseUrl = '%WEB_CONTEXT%';
    window.serverStatus = '%SERVER_STATUS%';
    window.instance = '%INSTANCE%';
    window.official = %OFFICIAL%;
  </script>
  <% for (let chunk in htmlWebpackPlugin.files.chunks) { %>
    <script type="module" src="%WEB_CONTEXT%/<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
  <% } %>
</body>

</html>
